BALDUR'S GATE II UI INTERFACE EDITOR V322 — INTEGRATED IN-GAME ACCOUNT SETUP
===========================================================================

Source baseline: V321 / All_Editors_321_V320_BASE_PLAYER_NAMED_EXPORT...
Full package contains the original interface and account tools.

WHAT WAS CHANGED
- VISUAL / NEW GAME FLOW -> SETUP IN-GAME ACCOUNTS (V321) opens a new
  integrated IN-GAME ACCOUNTS / SETUP tab (no separate V117 dialog).
- Enter the BG2 GAME folder with BaldurII.exe / Baldur.exe, and the BG2
  DOCUMENTS/PROFILE folder containing Baldur.lua (each is selectable).
- INSTALL / REPAIR V321 IN-GAME ACCOUNTS runs the SAME installer routine used
  by SETUP_IN_GAME_ACCOUNTS.bat, with its existing checks/side effects.
- EXPORT VISUAL UI + INSTALL V321 ACCOUNTS exports UI.MENU / MOS / 2DA and
  immediately runs the V321 setup against the actual BG2 game/override.
- Check Account Setup Status shows whether V321 router and UI are present.
- EDIT ACCOUNT LOGIN PANEL opens the selected UI.MENU in the full editor on
  DRAK_ACCOUNT_LOGIN. Note that generated account menu blocks will be reset
  to V321's template when setup is reapplied.
- The old account_ingame_bridge.setup() V117 dialog is no longer launched
  from the UI Editor.

TO USE
1. CLOSE all running BaldurII.exe/Baldur.exe and InfinityLoader windows.
2. Open START_UI_INTERFACE_EDITOR.bat.
3. Open IN-GAME ACCOUNTS / SETUP (or click SETUP IN-GAME ACCOUNTS (V321)).
4. Select your BG2 game folder and the corresponding Baldur.lua PROFILE.
5. If your editor UI is already exported, click INSTALL / REPAIR V321.
   If you are editing/re-exporting a visual UI, set Base UI.menu, BG2 game
   root, Active override (MUST BE game/override), image and output; then click
   EXPORT VISUAL UI + INSTALL V321 ACCOUNTS.
6. Wait for the status/installation dialog, then run BaldurII normally.

IMPORTANT
- Standard visual Export only writes menu resources; to apply account
  routing after exporting to your live game, use the combined export button.
- No HOST mode, additional multiplayer GUI or forced third-party service.
- No character .CHR/.BIO changes are introduced by this integration module.
  The V321 installer itself retains its original native character bridge and
  older-root isolation rules. Do not run setup with BG2 open.
- V321's five-letter aliases, native Import/Export, owner-only character UI,
  LAN/campaign logic, session cleanup and exit watcher are NOT changed.
- The V321 installer still checks menu compatibility and aborts on invalid
  menus. This is not an Infinity Engine runtime parser test.
- Existing account folder/content and game assets are NOT packaged.
- In-game operation must still be tested on Windows with BG2EE / EEex.

TESTS
Run: python -m pytest -q test_ui_account_setup_integration_v322.py test_v321_player_named_exports_five_letter_import.py
